﻿using Magicodes.ExporterAndImporter.Core;
using NP.BPMReportPlatform.Entities.BPM_Business;
using System;
using System.Collections.Generic;

namespace NP.BPMReportPlatform.CustomerProfileConfig.Dto
{
    /// <summary>
    ///  客户档案 配置
    /// </summary>
    public class GetCustomerProfileConfigOutput
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public Guid  Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [ExporterHeader(DisplayName = "创建时间")]
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        [ExporterHeader(DisplayName = "创建人名称")]
        public string AddUserName { get; set; }

        /// <summary>
        /// 最新修改时间
        /// </summary>
        [ExporterHeader(DisplayName = "UpdateTime")]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 最新修改人
        /// </summary>
        [ExporterHeader(DisplayName = "最新修改人")]
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 事业部
        /// </summary>
        [ExporterHeader(DisplayName = "事业部")]
        public string Business { get; set; }

        /// <summary>
        /// 行业
        /// </summary>
        [ExporterHeader(DisplayName = "行业")]
        public string Industry { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        [ExporterHeader(DisplayName = "区域")]
        public string Area { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        [ExporterHeader(DisplayName = "客户类型")]
        public string CustomerType { get; set; }

        /// <summary>
        /// 客户代码(送达方)
        /// </summary>
        [ExporterHeader(DisplayName = "送达方")]
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称(送达方)
        /// </summary>
        [ExporterHeader(DisplayName = "送达方名称")]
        public string CustomerName { get; set; }
        /// <summary>
        /// 售达方代码
        /// </summary>
        [ExporterHeader(DisplayName = "售达方")]
        public string SDFCode2 { get; set; }

        /// <summary>
        /// 售达方名称
        /// </summary>
        [ExporterHeader(DisplayName = "售达方名称")]
        public string SDFName2 { get; set; }

        /// <summary>
        /// 产线名称
        /// </summary>
        [ExporterHeader(DisplayName = "产线名称")]
        public string ProductionLine { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [ExporterHeader(DisplayName = "产品名称")]
        public string ProductName { get; set; }

        /// <summary>
        /// 客户归属
        /// </summary>
        [ExporterHeader(DisplayName = "客户归属")]
        public string CustomerAttribution { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [ExporterHeader(DisplayName = "状态")]
        public string State { get; set; }

        /// <summary>
        /// 建浴（混槽）日期
        /// </summary>
        [ExporterHeader(DisplayName = "建浴（混槽）日期")]
        public string JYDate { get; set; }

        /// <summary>
        /// 投槽/混槽
        /// </summary>
        [ExporterHeader(DisplayName = "投槽/混槽")]
        public string TCORHC { get; set; }

        /// <summary>
        /// 客户省份
        /// </summary>
        [ExporterHeader(DisplayName = "客户省份")]
        public string Province { get; set; }

        /// <summary>
        /// 客户城市
        /// </summary>
        [ExporterHeader(DisplayName = "客户城市")]
        public string City { get; set; }

        /// <summary>
        /// 标准槽液检测频次/月
        /// </summary>
        [ExporterHeader(DisplayName = "标准槽液检测频次/月")]
        public string TestingFrequency { get; set; }

        /// <summary>
        /// 技术担当工号
        /// </summary>
        [ExporterHeader(DisplayName = "技术担当工号")]
        public string JSDDCode { get; set; }

        /// <summary>
        /// 技术担当名称
        /// </summary>
        [ExporterHeader(DisplayName = "技术担当名称")]
        public string JSDDName { get; set; }

        /// <summary>
        /// 销售担当工号
        /// </summary>
        [ExporterHeader(DisplayName = "销售担当工号")]
        public string XSDDCode { get; set; }

        /// <summary>
        /// 销售担当名称
        /// </summary>
        [ExporterHeader(DisplayName = "销售担当名称")]
        public string XSDDName { get; set; }

        /// <summary>
        /// 子表-检测指标配置
        /// </summary>
        [IEIgnore(IsExportIgnore = true)]
        public List<CustomerProfileConfigDetail> InnerDetails { get; set; }
    }
}
